<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<div
	style="float: right; border: dotted 2px #000033; width: 700px; min-height: 400px; margin: 10px 0 20px 0; padding: 10px">
	<div style="font-size: 30px; font-weight: bold; color: #f00; text-align: center">User's Information</div> <br />
	
	<div style="font-size: 20px; font-weight: bold; color: #0F0; margin-left: 200px;"><s:property value="#request.success" /></div>
		<div style="font-size: 20px; font-weight: bold; color: #F00; margin-left: 200px;"><s:property value="#request.error" /></div>
	
	<form name="frmSignIn" action="<s:url action="info" namespace="/user"></s:url>" method="post" style="padding-left: 200px">
		
		<h2>First Name</h2>
		<input id="FName" maxlength="30" style="width: 300px; font-size: 20px" name="changeInfoUser.firstName" value="<s:property value="#request.user.firstName"/>" tabindex="1" onkeypress="#" type="text" autocomplete="off" size="35">
		
		<h2>Last Name</h2>
		<input id="LName" maxlength="30" style="width: 300px; font-size: 20px" name="changeInfoUser.lastName" value="<s:property value="#request.user.lastName"/>" tabindex="1" onkeypress="#" type="text" autocomplete="off" size="35"> <br /> <br />
		
		<h2>E-mail Address</h2>
		<input id="TxtEmailId" maxlength="50" disabled="disabled" style="width: 300px; font-size: 20px" name="TxtEmail" value="<s:property value="#request.user.email"/>" tabindex="1" onkeypress="javascript:return handleSignInEnterKeyPress();" type="email" autocomplete="off" size="35">
		
		<h2>ZIP Code</h2>
		<input id="TxtZipCode" maxlength="50" style="width: 300px; font-size: 20px" name="changeInfoUser.zipcode" value="<s:property value="#request.user.zipcode"/>" tabindex="1" onkeypress="javascript:return handleSignInEnterKeyPress();" type="text" autocomplete="off" size="35">
		
		<h2>Phone</h2>
		<input id="TxtPhone" maxlength="50" style="width: 300px; font-size: 20px" name="changeInfoUser.phoneNumber" value="<s:property value="#request.user.phoneNumber"/>" tabindex="1" onkeypress="javascript:return handleSignInEnterKeyPress();" type="text" autocomplete="off" size="35">
		
		<div style="margin: 30px 0px 20px 0px;">
			<span class="button" style="width: 138px; margin-left: 90px;">
				<input type="hidden" name="action" value="changeinformation" />		
				<input style="font-size: 13px; " type="submit" value="Update" name="button"/>
			</span>
		</div>
	</form>
</div>